package edu.uis.project.frankszoo.model.game;

/**
 * This class represents a round within a hand
 */
public class GameRound {

	protected int roundNumber;// The round number within a given round
	protected String startingPlayerID;// The ID of the player who started the round
	protected String endingPlayerID;// The ID of the player who ended the round

	/**
	 * This is the constructor for the GameRound
	 * 
	 * @param roundNumber
	 *            The round number within a given round
	 * @param startingPlayerID
	 *            The ID of the player who started the round
	 */
	public GameRound(int roundNumber, String startingPlayerID) {
		this.roundNumber = roundNumber;
		this.startingPlayerID = startingPlayerID;
	}

	/**
	 * Returns the round number of this game
	 * 
	 * @return roundNumber of this game
	 */
	public int getRoundNumber() {
		return roundNumber;
	}

	/**
	 * Returns the starting player's ID of this round
	 * 
	 * @return startingPlayerID The ID of the player who started the round
	 */
	public String getStartingPlayerID() {
		return startingPlayerID;
	}

	/**
	 * Gets the ending player's ID of this round
	 * 
	 * @return endingPlayerID The ID of the player who ended the round
	 */
	public String getEndingPlayerID() {
		return endingPlayerID;
	}

	/**
	 * Changes the ending player's ID of this round
	 * 
	 * @param endingPlayerID
	 *            The ID of the player who ended the round
	 */
	public void setEndingPlayerID(String endingPlayerID) {
		this.endingPlayerID = endingPlayerID;
	}

}
